package org.zhou.demo2;

public class Client {
    public static void main(String[] args) {
        Api api = Factory.createApi(2);
        if (api != null) {
            api.operation("添加了工厂类Factory实现封装隔离");
        }
    }
}